﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;
using System.Data;

/// <summary>
/// Summary description for userDAO
/// </summary>
public class userDAO : dataAccess
{

    public DataSet checkLogin(User user)
    {
        String sql = "select * from [User] where UserName = '" + user.Username + "' AND Password = '" + user.Password + "'";
        return getData(sql);
    }

	public userDAO()
	{

	}
}